ExportWarning
Description
'export' the risk alarm records detected by the baseline check according to the query criteria.
Request Method
POST
Request Path
/apsara/route/aegis/ExportWarning
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| TypeNames | BODY | string | No | No sample value for this parameter. | risk category name. |
| SubTypeNames | BODY | string | No | No sample value for this parameter. | sub-risk category name. |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| IsSummaryExport | BODY | string | No | No sample value for this parameter. | whether to 'export' by summary page, value range: 1: indicates 'export' of summary page 0: indicates non-summary page 'export' |
| StrategyId | BODY | integer | No | No sample value for this parameter. | baseline check policy ID. |
| Uuids | BODY | string | No | No sample value for this parameter. | host asset UUID, specifying multiple host asset UUIDs separated. |
| Dealed | BODY | string | No | No sample value for this parameter. | whether the risk item has been processed. Y: indicates processed N: indicates unprocessed |
| version | BODY | string | No | 2016-01-01 | version of api |
| RiskLevels | BODY | string | No | No sample value for this parameter. | risk levels, separated by "," when multiple risk levels are specified. |
| RiskName | BODY | string | No | No sample value for this parameter. | risk item name. description supports fuzzy matching search. |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestId | string | no demo value | request ID. |
| FileName | string | no demo value | 'export' file name. |
| Id | integer | no demo value | 'export' task record ID. |
Example
Successful Response example
{
"RequestId":"no demo value",
"FileName":"no demo value",
"Id":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}